class wendubean {
  int code;
  String message;
  List<Result> result;
  bool success;
  int timestamp;

  wendubean(
      {this.code, this.message, this.result, this.success, this.timestamp});

  wendubean.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    message = json['message'];
    if (json['result'] != null) {
      result = new List<Result>();
      json['result'].forEach((v) {
        result.add(new Result.fromJson(v));
      });
    }
    success = json['success'];
    timestamp = json['timestamp'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['message'] = this.message;
    if (this.result != null) {
      data['result'] = this.result.map((v) => v.toJson()).toList();
    }
    data['success'] = this.success;
    data['timestamp'] = this.timestamp;
    return data;
  }
}

class Result {
  String fullName;
  String id;
  List<Lists> lists;

  Result({this.fullName, this.id, this.lists});

  Result.fromJson(Map<String, dynamic> json) {
    fullName = json['fullName'];
    id = json['id'];
    if (json['lists'] != null) {
      lists = new List<Lists>();
      json['lists'].forEach((v) {
        lists.add(new Lists.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['fullName'] = this.fullName;
    data['id'] = this.id;
    if (this.lists != null) {
      data['lists'] = this.lists.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class Lists {
  int afterValveTemperature;
  String createTime;
  int instantFlow;
  int jobStress;
  int jobTemperature;
  int totalFlow;

  Lists(
      {this.afterValveTemperature,
        this.createTime,
        this.instantFlow,
        this.jobStress,
        this.jobTemperature,
        this.totalFlow});

  Lists.fromJson(Map<String, dynamic> json) {
    afterValveTemperature = json['afterValveTemperature'];
    createTime = json['createTime'];
    instantFlow = json['instantFlow'];
    jobStress = json['jobStress'];
    jobTemperature = json['jobTemperature'];
    totalFlow = json['totalFlow'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['afterValveTemperature'] = this.afterValveTemperature;
    data['createTime'] = this.createTime;
    data['instantFlow'] = this.instantFlow;
    data['jobStress'] = this.jobStress;
    data['jobTemperature'] = this.jobTemperature;
    data['totalFlow'] = this.totalFlow;
    return data;
  }
}